package com.ss.android.article.browser.database.bookmark;

import android.support.annotation.NonNull;
import com.a.a.NightMode;
import com.a.a.u;
import com.ss.android.article.browser.database.BrowserHistory;

final class j implements NightMode {
    private final a b;
    private final BrowserHistory a;

    j(a arg1, BrowserHistory arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void f(@NonNull Object arg3) {
        boolean v0 = com.ss.android.article.browser.database.bookmark.a.b(this.b, this.a.url) > 0 ? true : false;
        ((u)arg3).onItem(Boolean.valueOf(v0));
        ((u)arg3).onComplete();
    }
}

